/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * SCDN相关接口
 * Openapi For JCLOUD cdn
 *
 * OpenAPI spec version: v1
 * Contact: pid-cdn@jd.com
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Cdn.Model;

namespace  JDCloudSDK.Cdn.Apis
{

    /// <summary>
    ///  查询网络防护层规则接口
    /// </summary>
    public class QueryNetProtectionRulesResult : JdcloudResult
    {
        ///<summary>
        /// 网络防护层总开关，取值on,off，其中on开启，off关闭
        ///</summary>
        public   string SwitchStatus{ get; set; }
        ///<summary>
        /// 源新建连接限速，取值on,off，其中on开启，off关闭
        ///</summary>
        public   string SrcNewConnLimitEnable{ get; set; }
        ///<summary>
        /// 目的新建连接，取值on,off，其中on开启，off关闭
        ///</summary>
        public   string DstNewConnLimitEnable{ get; set; }
        ///<summary>
        /// 报文最小长度（包最小长度）,取值：1-1500
        ///</summary>
        public   long? DatagramRangeMin{ get; set; }
        ///<summary>
        /// 报文最大长度（包最大长度）,取值：1-1500
        ///</summary>
        public   long? DatagramRangeMax{ get; set; }
        ///<summary>
        /// 源新建连接限速值，取值：0-4294967295
        ///</summary>
        public   long? SrcNewConnLimitValue{ get; set; }
        ///<summary>
        /// 目的新建连接限速值，取值：0-4294967295
        ///</summary>
        public   long? DstNewConnLimitValue{ get; set; }
        ///<summary>
        /// 地域黑名单（GEO IP拦截）
        ///</summary>
        public List<GeoArea> GeoBlack{ get; set; }

        ///<summary>
        /// ip 黑名单
        ///</summary>
        public List<string> IpBlack{ get; set; }

        ///<summary>
        /// ip 白名单
        ///</summary>
        public List<string> IpWhite{ get; set; }

    }
}